package com.mx.zb.md.base;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import org.springframework.http.client.ClientHttpRequestFactory;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
@EnableEurekaClient
public class MdBaseApplication {
	
//	@Bean
//	@LoadBalanced
//    public RestTemplate restTemplate(ClientHttpRequestFactory factory){  
//        return new RestTemplate(factory);  
//    } 

	public static void main(String[] args) {
		SpringApplication.run(MdBaseApplication.class, args);
	}
}
